/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.cms.entity;

import com.lczyfz.campusinfo.modules.cms.dao.CampusinfoAboutUsDao;
import com.lczyfz.campusinfo.modules.user.utils.ServerResponse;
import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 关于我们Entity
 * @author 陈维乾
 * @version 2018-04-19
 */
public class CampusinfoAboutUs extends DataEntity<CampusinfoAboutUs> {

	@Autowired
	private CampusinfoAboutUsDao campusinfoAboutUsDao;
	private static final long serialVersionUID = 1L;
	private String title;		// 标题
	private String content;		// 内容


	public CampusinfoAboutUs() {
		super();
	}

	public CampusinfoAboutUs(String id){
		super(id);
	}

	@Length(min=1, max=255, message="标题长度必须介于 1 和 255 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}